package cn.com.inossem.model;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

public class PhoneBook implements Parcelable, Serializable {

	/**
	 * 名字
	 */
	private String friendTruename = "";
	/**
	 * 电话
	 */
	private String friendPhone = "";

	private int isselected = 0;
	
	private String image;

	public PhoneBook() {

	}

	public String getFriendTruename() {
		return friendTruename;
	}

	public void setFriendTruename(String friendTruename) {
		this.friendTruename = friendTruename;
	}

	public String getFriendPhone() {
		return friendPhone;
	}

	public void setFriendPhone(String friendPhone) {
		this.friendPhone = friendPhone;
	}

	public int getIsselected() {
		return isselected;
	}

	public void setIsselected(int isselected) {
		this.isselected = isselected;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	private PhoneBook(Parcel in) {

		friendTruename = in.readString();
		friendPhone = in.readString();

	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(friendTruename);
		dest.writeString(friendPhone);
	}

	public static final Parcelable.Creator<PhoneBook> CREATOR = new Parcelable.Creator<PhoneBook>() {
		public PhoneBook createFromParcel(Parcel in) {
			return new PhoneBook(in);
		}

		public PhoneBook[] newArray(int size) {
			return new PhoneBook[size];
		}
	};

}
